package alf.mapping.dto.help;

public class Link {
	private String name,ref, rel;
	
	public Link(){}
	public Link(String name, String ref){
		this.name = name;
		this.ref = ref;
	}
	public Link(Entry e) {
		this.name = e.getTitle();
		this.ref = e.getId();
	}

	public void setRel(String rel) {
		this.rel = rel;
	}

	public String getRel() {
		return rel;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setRef(String ref) {
		this.ref = ref;
	}

	public String getRef() {
		return ref;
	}
}
